package com.rm.zeyou.pay.wxpay.service;

import com.rm.zeyou.pay.wxpay.vo.DecryptWeChartMsgVO;
import com.rm.zeyou.response.ApiRestResponse;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author ZhangKeChen
 * @Date 2022/11/1
 * @Description
 */
public interface WechatGetMsgService {
    /**
     * @param code 公众号获取openid的code
     * @return
     */
    DecryptWeChartMsgVO decryptWeChatOpenIdMsg(String code);

    /**
     * @param code 公众号获取openid的code
     * @return
     */
    DecryptWeChartMsgVO decryptWeChatPhoneMsg(String code);

     ApiRestResponse payConfig(@RequestParam String url);
}
